package dao;

import entity.hero;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface heroDao {
    List<hero> findList(@Param("start") int start, @Param("end") int end,@Param("heroName")String heroName);//start 查询条件中的
    int  countHero(@Param("heroName")String heroName);
}
